package com.lfl.spring6.service.impl;

import com.lfl.spring6.dao.UserDao;
import com.lfl.spring6.dao.impl.UserDaoImplForMySQL;
import com.lfl.spring6.service.UserService;

public class UserServiceImpl implements UserService {
    UserDao userDao = new UserDaoImplForMySQL();
    @Override
    public void deleteUser() {
        // 业务逻辑
        userDao.deleteById();
        System.out.println("删除用户");

    }


}
